package com.example.patient.mapper;

import com.example.patient.dto.resp.DoctorListResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author wxy
 * @Date 2021/1/19 14:11
 * @Version 1.0
 */
public interface DoctorMapper {

    List<DoctorListResp> findDoctorByCondition(@Param("title") String title, @Param("depId") Long depId, @Param("service") String service, @Param("searchName") String searchName);

    List<Map<String, Object>> findDetailRespCommentResp(@Param("doctorId") Long doctorId,@Param("skip") Integer skip,@Param("limit") Integer limit);

    Long countDetailRespCommentResp(@Param("doctorId") Long doctorId);

    List<Map<String, Object>> findVisitInfoRespPatientResp(@Param("patientId") Long patientId);
}
